package cn.tedu.cinema.scheduling.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SchedulingVO {
    @ApiModelProperty(value = "排片id")
    private Long id;
    @ApiModelProperty(value = "电影id")
    private Long movieId;
    @ApiModelProperty(value = "影厅id")
    private Long hallId;
    @ApiModelProperty(value = "影院id")
    private Long cinemaId;
    @ApiModelProperty(value = "影厅名称")
    private String name;
    @ApiModelProperty(value = "放映时间id")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;
    @ApiModelProperty(value = "播放时长")
    private String duration;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "电影名称")
    private String movieName;
    @ApiModelProperty(value = "电影时长（分钟）")
    private Integer durationMinutes;

    //一周内的排片场次
    @ApiModelProperty(value = "影厅某电影一周内的排片场次")
    private Integer weekCount;
    //一周内的排片率
    @ApiModelProperty(value = "一周内的排片率")
    private String weekRate;
    //总场次
    @ApiModelProperty(value = "影厅排片总场次")
    private Integer Count;
    @ApiModelProperty(value = "电影海报")
    private String posterUrl;
}
